package com.ssy.lingxi.member.merchant.model.vo.comment.response;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 收到订单评价接口查询返回VO
 * @author yzc
 * @version 2.0.0
 * @date 2020/10/14
 */
public class MemberReceiveTradeCommentPageVO implements Serializable {
    private static final long serialVersionUID = -955281859965231658L;

    /**
     * 记录id
     */
    private Long id;

    /**
     * 评价星级（1-5）
     */
    private Integer star;

    /**
     * 评价内容
     */
    private String comment;

    /**
     * 商品信息
     */
    private String product;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 交易时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dealTime;

    /**
     * 评价方
     */
    private String memberName;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 交易数量
     */
    private BigDecimal purchaseCount;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 被评价方回复 0-否 1-是
     */
    private Integer replyStatus;

    /**
     * 是否显示商品评价 1-显示 2-隐藏
     */
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public LocalDateTime getDealTime() {
        return dealTime;
    }

    public void setDealTime(LocalDateTime dealTime) {
        this.dealTime = dealTime;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPurchaseCount() {
        return purchaseCount;
    }

    public void setPurchaseCount(BigDecimal purchaseCount) {
        this.purchaseCount = purchaseCount;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getReplyStatus() {
        return replyStatus;
    }

    public void setReplyStatus(Integer replyStatus) {
        this.replyStatus = replyStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
